package com.xungou.city.service;

import com.xungou.city.pojo.City;
import com.xungou.core.mvc.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface ICityService extends IService<City> {

    int insert(City record, @RequestParam Map<String, String> params);

    int delete(Integer id);

    List<Map<String,Object>> getCityTree();

    List<Map<String,Object>> getCityList(Map<String, String> params);
}